import http from "@/http/index";

 export default {

    insert: {
         name: "新增入库单",
         url: "/api/io",
         call: async function (params: any = {}){
            return await http.post(this.url, params)
        }
    },
    select: {
        name: "入库单查找",
        url: "/api/io",
        call: async function (params: any = {}) {
            return await http.get(this.url, params)
        }
    },
    selectItem: {
        name: "入库单明细",
        url: "/api/io/item",
        call: async function (params: any = {}) {
            return await http.get(this.url, params)
        }
    }

}